import request from '@/utils/request'

// 查询余额支付充值记录列表
export function listAdapayBalancerecharge(query) {
  return request({
    url: '/adapayBalancerecharge/adapayBalancerecharge/list',
    method: 'get',
    params: query
  })
}

// 查询余额支付充值记录详细
export function getAdapayBalancerecharge(id) {
  return request({
    url: '/adapayBalancerecharge/adapayBalancerecharge/' + id,
    method: 'get'
  })
}

// 新增余额支付充值记录
export function addAdapayBalancerecharge(data) {
  return request({
    url: '/adapayBalancerecharge/adapayBalancerecharge',
    method: 'post',
    data: data
  })
}

// 修改余额支付充值记录
export function updateAdapayBalancerecharge(data) {
  return request({
    url: '/adapayBalancerecharge/adapayBalancerecharge',
    method: 'put',
    data: data
  })
}

// 删除余额支付充值记录
export function delAdapayBalancerecharge(id) {
  return request({
    url: '/adapayBalancerecharge/adapayBalancerecharge/' + id,
    method: 'delete'
  })
}
// 删除余额支付充值记录
export function logicDelAdapayBalancerecharge(id) {
  return request({
    url: '/adapayBalancerecharge/adapayBalancerecharge/' + id,
    method: 'delete'
  })
}

// 导出余额支付充值记录
export function exportAdapayBalancerecharge(query) {
  return request({
    url: '/adapayBalancerecharge/adapayBalancerecharge/export',
    method: 'get',
    params: query
  })
}
